#ifndef STANDALONE_CUBER_H
#define STANDALONE_CUBER_H

#include "cuber.h"
class CStandaloneCuber:public CCuber{
  public:
	CStandaloneCuber();
  	virtual ~CStandaloneCuber();
	virtual UDK_HANDLE Connect(const char* parameters);
	virtual void Disconnect(UDK_HANDLE h);
	virtual int GetLastError();
	virtual int SearchDevices(char *CommType,char *Address, char *Buffer,int *BufferLength);
	virtual int GetLockCount(UDK_HANDLE h);
	virtual int SetLockState(UDK_HANDLE h,int lock_no,int opentime);
	virtual int GetLockState(UDK_HANDLE h,int lock_no);
    virtual int GetComPwd(UDK_HANDLE h, char *buffer, int *BufferLen);
	virtual int MobileAtt(UDK_HANDLE h, int operate, char *premeters, char *Buffer,int* BufferLength);
	virtual int GetDeviceParam(UDK_HANDLE h, char *Buffer, int Bufferlen, char *Item);
	virtual int SetDeviceParam(UDK_HANDLE h, char *ItemandValues);
	virtual int SetDownloadProcessCallBack(UDK_HANDLE h, void *pCallBackFun);
	virtual int ResetDeviceExt(UDK_HANDLE h, char *parameters);
};
#endif //STANDALONE_CUBER_H
